using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using ESoft.Core.Data;
using ESoft.Core.Data.Entity;
using Microsoft.EntityFrameworkCore.Metadata.Builders;

namespace ESoft.Portal.Data.Domain.Entity
{
    /// <summary>
    /// CFile
    /// </summary>    
	[Table("c_file")]
    public partial class CFileEntity : BaseModel
    {
		/// <summary>
        /// 
        /// </summary>
		[Key] 
		[Column("FILE_ID")]
        public string FileId { get; set; }
		/// <summary>
        /// 
        /// </summary> 
		[Column("FILE_NAME")]
        public string FileName { get; set; }
		/// <summary>
        /// 
        /// </summary> 
		[Column("FILE_PATH")]
        public string FilePath { get; set; }
		/// <summary>
        /// 
        /// </summary> 
		[Column("FILE_EXE")]
        public string FileExe { get; set; }
		/// <summary>
        /// 
        /// </summary> 
		[Column("MINE_TYPE")]
        public string MineType { get; set; }
		/// <summary>
        /// 
        /// </summary> 
		[Column("CREATE_DATETIME")]
        public DateTime? CreateDatetime { get; set; }
    }

		public class CFileConfiguration : EntityMappingConfiguration<CFileEntity>
    {
        public override void Map(EntityTypeBuilder<CFileEntity> b)
        {
        }
    }
}

